package com.sinven.mapper;

import com.sinven.pojo.Apply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApplyMapper {

    int addApply(Apply apply);

    int updateApply(Apply apply);

    int deleteApply(long id);

    long countApplys(@Param("status") Integer status);

    List<Apply> queryApplys(@Param("startIndex") long startIndex,
                            @Param("pageSize") int pageSize,
                            @Param("status")Integer status);


}
